import config from "./config";

import axios from "axios";
import qs from "qs";



export function addCart(data){
	return axios.post(`${config.host}/cart/add`,qs.stringify(data));
}


export function getCart(id){
	return axios.get(`${config.host}/cart/${id}`);
}


export function delCart(id){
	return axios.get(`${config.host}/cart/del/${id}`);
}



